home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <appkit/View.h>
-
- #define NUMBER_STARS 25
- #define MAX_MAGNITUDE 7
- #define STAR_WIDTH 7
- #define STAR_HEIGHT 11
-
- struct StellaStar
- {
- int x,y;
- char cycle,magnitude;
- BOOL forward;
- };
-
- @interface StellaView:View
- {
- struct _stellaFlags {
- unsigned int blankedscreen:1;
- } flags;
- struct StellaStar stars[NUMBER_STARS];
- int width,height;
- DPSTimedEntry myTimedEntry;
- }
-
- - drawSelf:(const NXRect *)rects :(int)rectCount;
- - startAnimation;
- - endAnimation;
- - initFrame:(const NXRect *)frameRect;
- - makeMyStar :(int)number;
- - (BOOL)starExists :(int)x :(int)y;
- - showStar :(int)x :(int)y :(int)cycle;
- - deleteStar :(int)x :(int)y;
-
- @end
-